import json

#读取json文件函数
def build_data(file_path):
    with open(file_path,"r",encoding="utf-8") as fr:
        data = json.load(fr)
        new_list=[]
        for i in data:
            a = tuple(i.values())
            new_list.append(a)
        return new_list

if __name__ == '__main__':
     res =build_data("E:\软件测试\上课资料\就业课视频\demo6\ihrm\data\login_data.json")
     print(res)